package com.hc.demo.dao;

import com.hc.demo.domain.JdbcTemplateDept;

import java.util.List;

public interface JdbcTemplateDeptDao {
    int insert(JdbcTemplateDept dept);

    int update(JdbcTemplateDept dept);

    int delete(Integer deptno);

    JdbcTemplateDept selectByDeptno(Integer deptno);

    List<JdbcTemplateDept> selectAll();

    List<Integer> selectAllDeptnos();
}
